package com.apps.file.utils;


public class IKupaFilesUtils
{

    /**
     * 校验文件后缀名
     * @param path
     * @param suffix
     * @return
     */
    public static boolean checkFileSuffix(String path,String suffix)
    {
        String[] paths=path.split("\\.");
        if(paths.length<2)
            return false;
        if(paths.equals(suffix))
            return true;
        return false;
    }

}
